package weekMatch.one_347;

public class LeeCode_01 {
    public static void main(String[] args) {

    }
    private static String removeTrailingZeros(String num) {
        int n = num.length(), i = n - 1;
        while (num.charAt(i) == '0'){
            i--;
        }
        return num.substring(0, i + 1);
    }
}
